using Tatibah;

namespace Example1
{
	// See DocumentAPI.PDF in Downloads for result
    class Program
    {
        static void Main(string[] args)
        {
            // Create the document
            Document document1 = new Document(@"C:\Tatibah\Results\Example1.docx");

            // Constructor 1. Empty Paragraph
            Paragraph paragraph1 = new Paragraph();

            // Constructor 2. string Paragraph
            Paragraph paragraph2 = new Paragraph("This is the second paragraph.");

            // Append the Paragraphs to the Document
            document1.Append(paragraph1);
            document1.Append(paragraph2);

            // Save the Document
            document1.Save();
            document1.Close();
        }
    }
}
